#include "Complex.h"
#include<iostream>

int main()
  {
    const int max_index = 5;
    double d = 2.71;
    Complex v[max_index], sz = Complex();
    std::cout<<"\nCitirea sirului de numere complexe:";
    for(int i = 0; i < max_index; i++)
      std::cin>>v[i];
    for(int i = 0; i < max_index; i++)
      sz = sz + v[i];
    std::cout<<"\nSuma sirului de numere complexe :"<<sz<<"\n";
    for(int i = 0; i < max_index; i++)
      v[i] = v[i] + d;
    std::cout<<"Sir de numere complexe:\n";
    for(int i = 0; i < max_index; i++)
      std::cout<<v[i]<<" ";
    std<<"\n";
    return 0;
  }